<{include file="head.html"}>
<div class="public_main">              
    <div class="mbox">
        <div class="mt">
            <{if $keywords}>
            搜索 <font color="blue"><{$keywords}></font> 结果 <{if $commolist|count >0}>(<{$commolist|count}> 条相关结果)<{/if}>
            <{else}>
            请在上方的搜索框中输入关键词，按搜索按钮。
            <{/if}>
        </div>
        <div class="md">
            <{if $err}>
            <span style="margin:5px;display: block;"><font color="red" size="3"><{$err}></font></span>
            <{else}>
                <{if $commolist|count <=0}>
                <span style="margin:5px;display: block;"><font color="red" size="3">未找到相关结果</font></span>
                <{else}>
                <ul>
                    <{section name=c loop=$commolist}>
                    <li class="commoli">
                        <a href="<{$config.SITE_URL}>/commo.php?id=<{$commolist[c].id}>"><img src="<{if $commolist[c].path && $commolist[c].isimg==1}><{$config.SITE_URL}>/<{$config.attpath}><{$commolist[c].path}><{else}><{$config.SITE_URL}>/images/nopic.jpg<{/if}>" width="215" height="200"/>
                            <center>
                            <p><{$commolist[c].name}></p></a>
                        <p>会员价：<font color="red"><{$commolist[c].vprice}></font> 元</p>
                        <p>分类：<a href="<{$config.SITE_URL}>/type.php?id=<{$commolist[c].typeid}>"><{$commolist[c].typename}></a></p>
                        </center>
                    </li>
                    <{/section}>
                </ul>
                <{/if}>
            <{/if}>
        </div>
    </div>
    <div style="margin: 5px;"><center><{$page}></center></div>
</div>
<{include file="foot.html"}>
